admin-switch: Add missing reboot argument
authorColin Walters <walters@verbum.org>
Wed, 23 Mar 2016 13:42:17 +0000 (09:42 -0400)
committerColin Walters <walters@verbum.org>
Wed, 23 Mar 2016 13:42:17 +0000 (09:42 -0400)
Spotted by jlebon in https://github.com/GNOME/ostree/pull/211

src/ostree/ot-admin-builtin-switch.c

index 5339de9d43015146562527a9bf035ed1bcf83c58..4d82ca6b3bf8412c9b1c7bf26d741ddd2a8aacd9 100644 (file)
@@ -34,6 +34,7 @@ static gboolean opt_reboot;
 static char *opt_osname;
 
 static GOptionEntry options[] = {
+  { "reboot", 'r', 0, G_OPTION_ARG_NONE, &opt_reboot, "Reboot after switching trees", NULL },
   { "os", 0, 0, G_OPTION_ARG_STRING, &opt_osname, "Use a different operating system root than the current one", "OSNAME" },
   { NULL }
 };